﻿using Coldairarrow.Entity.DTO;
using Coldairarrow.Entity.PB;
using Coldairarrow.Util;
using Coldairarrow.Util.ClassLibrary;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.PB
{
    public partial interface IPB_EquipmentBusiness
    {
        Task<PageResult<PB_EquipmentDTO>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<PB_Equipment> GetTheDataAsync(string id);
        Task AddDataAsync(PB_Equipment data);
        Task UpdateDataAsync(PB_Equipment data);
        Task DeleteDataAsync(List<string> ids);
        /// <summary>
        /// 批量 单个打印
        /// </summary>
        /// <param name="data"></param>
        /// <param name="_mongodbOptions"></param>
        /// <returns></returns>
        Task<AjaxResult> SelectEquipmentD(PB_EquipmentPrint data, MongoDBOptions _mongodbOptions);
        /// <summary>
        /// 全部打印
        /// </summary>
        /// <param name="_mongodbOptions"></param>
        /// <returns></returns>
        Task<AjaxResult> CountPrint(PB_EquipmentCountPrint data, MongoDBOptions _mongodbOptions);

        /// <summary>
        /// 获取PDA信息
        /// </summary>
        /// <param name="EquipmentAddress">PDA地址</param>
        /// <returns></returns>
        Task<PB_Equipment> GetEquipmentDataAsync(string EquipmentAddress);

    }
}